import React from "react";
import { Row,Col } from "antd";

import Header from "./components/Header";
import Footer from "./components/Footer";
import NavLeft from "./components/NavLeft/indexbase";
import "./stye/common.less"

export default class Admin extends React.Component{
    render(){
        return (
            <div>
                <Row className="containter">
                    <Col span="4" className="navleft">
                        <NavLeft></NavLeft>
                    </Col>
                    <Col span="20" className="main">
                        <Header></Header>
                        <Row className="content">
                            内容区域
                            {/* 加载子组件 */}
                            {this.props.children} 
                        </Row>
                        <Footer></Footer>
                    </Col>
                </Row>
            </div>
        )
    }
}